package dhm.com.dhmshop.base.netWork;

import android.os.Environment;

import dhm.com.dhmshop.utils.EncryptUtil;

public interface Constant {

    /**
     * 正则表达式：验证手机号
     */
    public static final String REGEX_MOBILE = "/^[1][3,4,5,6,7,8,9][0-9]{9}$/";

    /**
     * 正则表达式：验证邮箱
     */
    public static final String REGEX_EMAIL = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";

    /**
     * 至少包含数字跟字母，可以有字符
     */
//    String reg = "/^\\w{6,16}$/";
    String reg = "(?=.*([a-zA-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$";

    String nick = "[a-zA-Z0-9-*/+.~!@#$%^&*()]{6,20}$";

    /**
     * 正则表达式：只能是中文
     */
    public static final String CHINESE = "[\\u4e00-\\u9fa5]+";

    /**
     * 正则表达式：名字
     */
    String name = "^[\\u4e00-\\u9fa5][\\u4e00-\\u9fa5]+([•·]?+[\\u4e00-\\u9fa5]+)*$";


    /**
     * 正则表达式：身份证号码
     */
    String num = "/(^\\d{15}$)|(^\\d{18}$)|(^\\d{17}(\\d|X|x)$)/";


    /**
     * 正则表达式：统一社会信用代码
     */
    String company = "[1-9A-GY]{1}[1239]{1}[1-5]{1}[0-9]{5}[0-9A-Z]{10}";


    /**
     * 正则表达式：公司名称
     */
    String companyname = "^[\\u4e00-\\u9fa5][\\u4e00-\\u9fa5]+";


    String TOKEN = EncryptUtil.MD5("qitong");

    //微信appid
    public static final String Wx_APP_ID = "wxc5f889dd5b0b90bd";

    String PATH = "http://www.qitong.shop";

    //登录
    String LOGIN = "/appapi/users/login";

    //    用户注册
    String UserRegist = "/appapi/users/register";

    //    商户注册
    String ShopRegist = "/appapi/users/shop_register";


    //修改头像
    String ChangeHeadImage = "/appapi/users/modify_headsmall";

    //修改用户信息
    String ChangeUserInfo = "/appapi/users/update_info";

    //发送验证码
    String SendMessage = "/appapi/users/send_message";

    //修改用户密码
    String SetNewPass = "/appapi/users/set_new_pass";

    //修改用户信息
    String CheckUser = "/appapi/users/check_user";

    //获取用户信息
    String GetUserInfo = "/appapi/users/get_userinfo";

    //获取用户收货地址列表
    String GetUserAddr = "/appapi/users/get_address";

    //新增收货地址
    String AddAddress = "/appapi/users/add_address";

    //修改手机号
    String ChangePhone = "/appapi/users/modify_mobile";

    //获取某个收货地址
    String GetAddress = "/appapi/users/get_address_info";

    //修改收货地址
    String EditAddress = "/appapi/users/edit_address";


    //首页广告大图
    String GetAds = "/appapi/ads/get_ads";

    //首页头条
    String Topnews = "/appapi/information/top_news";

    //首页热门的商品(单个商品)
    String IsHotGoods = "/appapi/goods/is_hot_goods";

    //首页有好货的商品（获取单个商品）
    String IsEliteGoods = "/appapi/goods/is_elite_goods";

    //首页每日好店
    String HomeRecommendShop = "/appapi/shop/home_recommend_shop";


    //首页销量排前的商品
    String HotGoodsList = "/appapi/goods/hot_goods_list";

    //热门商品列表页面
    String ListHotGoods = "/appapi/goods/list_hot_goods";

    //有好货商品列表
    String ListEliteGoods = "/appapi/goods/list_elite_goods";

    //获取父类下面的所有子类和销量前六的产品 首页女装
    String GetChildCategoryGoods = "/appapi/goods/get_child_category_goods";

    //    拍照
    public static final int IMAGE_REQUEST_CODE = 12;
    public static final int REQUESTCODE = 200;
    public static final int REQUESTCODE1 = 201;
    public static final int RESULTCODE = 300;

    //拍照用到
    public static final String Tag = "dhm.com.dhmshop.fileProvider";

    //头像地址
    public static final String HeadPath = Environment.getExternalStorageDirectory().getAbsolutePath() +
            "/Shop/Image/HeadPath/";
    //头像地址
    public static final String ImagePath = Environment.getExternalStorageDirectory().getAbsolutePath() +
            "/Shop/Image/ImagePath/";

    //    店铺地址
    static String STOREIMGPATH = Environment.getExternalStorageDirectory().getAbsolutePath() +
            "/shop/Image/StroeImgPath/";


    //获取店铺收益总额
    String ShopProfit= "/appapi/shop/shop_profit";

    //删除某个地址
    String DelAddress= "/appapi/users/del_address";

    //获取我的店铺信息
    String GetMyShopinfo= "/appapi/shop/get_my_shopinfo";

    //修改我的店铺信息
    String FixShopinfo= "/appapi/shop/modify_shop_info";

    //小店上货
    String AddGoods= "/appapi/goods/add_goods";

    //修改商品信息
    String ModifyGoods= "/appapi/goods/modify_goods";

    //获取一级分类
    String GetOneCategory= "/appapi/goods/get_one_category";

    //取父类下面的所有子类
    String GetChildCategory= "/appapi/goods/get_child_category";

    //指定分类下的商品搜索
    String CateSearch= "/appapi/goods/get_goods_by_catId";

    //关于
    String GetAboutCon= "/appapi/users/get_about_con";

    //获取我发布的商品列表
    String GetMyGoods= "/appapi/goods/get_my_goods";

    //获取我发布的商品列表
    String DeleteGoods= "/appapi/goods/delete_goods";

    //获取某个商店中的商品
    String GetShopInfo= "/appapi/shop/get_shop_info";

    //获取购物车列表
    String ShoppingList= "/appapi/goods/shopping_list";

    //清空购物车
    String DelAllShopping= "/appapi/goods/del_all_shopping";

    //加入购物车
    String AddShopping= "/appapi/goods/add_shopping";

    //删除指定会员指定商品的购物车信息
    String DefGoodsShopping= "/appapi/goods/del_goods_shopping";

    //收藏店铺
    String AddShopCollect= "/appapi/shop/add_shop_collect";

    //取消收藏店铺
    String DelShopCollect= "/appapi/shop/del_shop_collect";

    //查看我收藏的店铺
    String MyShopCollects= "/appapi/shop/my_shop_collects";

    //清空我收藏的店铺
    String ClearShopCollects= "/appapi/shop/clear_shop_collect";

    //商品加入收藏
    String CollectionGoods= "/appapi/goods/collect_goods";

    //删除收藏
    String DelCollect= "/appapi/goods/del_collect";

    //我收藏的商品
    String CollectionList= "/appapi/goods/collect_list";

    //清空我收藏的商品
    String DelAllCollect= "/appapi/goods/del_all_collect";

    //获取单个商品信息
    String OneGoods= "/appapi/goods/one_goods";

    //获取指定商品ID的评论
    String GetGoodsAppriseList= "/appapi/goods/get_goods_appraise_list";

    //获取全部订单
    String Allorders= "/appapi/order/all_orders";

    //待付款订单
    String AllordersToPay= "/appapi/order/all_orders_to_pay";

    //待发货订单
    String AllordersTodeliver= "/appapi/order/all_orders_to_deliver";

    //待收货订单
    String Allordersdeliver= "/appapi/order/all_orders_deliver";

    //待评价订单
    String AllordersToEvaluate= "/appapi/order/all_orders_to_evaluate";

    //已完成订单
    String AllOrdersFinish= "/appapi/order/all_orders_finish";

    //已经取消订单列表
    String CancleOrdersList= "/appapi/order/cancel_orders_list";




    //获取广告图片列表
    String ShopAds= "/appapi/shop/shop_ads";

    //上传店铺广告图
    String AddShopAds= "/appapi/shop/add_shop_ad";

    //修改店铺封面
    String ModifyLicense= "/appapi/shop/modify_license";

    //删除广告图片
    String DelShopAds= "/appapi/shop/del_shop_ads";

    //获取店铺订单总数
    String ShopOrderCount= "/appapi/shop/shop_order_count";

    //向商家催发货
    String AddSendOrder= "/appapi/order/add_send_order";

    //显示催发货信息
    String SendOrder= "/appapi/order/send_order";

    //确认收货
    String OrderOver= "/appapi/order/order_over";

    //修改订单收货地址
    String OrderAddressModify= "/appapi/order/order_address_modify";

    //发布评价
    String AddGoodsComments= "/appapi/order/add_goods_comments";

    //提交售后申请
    String SaleComments= "/appapi/order/commit";

    //删除评价
    String DelGoodsComments= "/appapi/order/del_goods_comment";

    //删除订单
    String DeleteOrder= "/appapi/order/delete_order";

    //取消订单原因
    String CancelOrdersReason= "/appapi/order/cancel_orders_reason";

    //订单投诉
    String OrderCompains= "/appapi/order/order_complains";

    //返回订单投诉数组
    String RejectReason= "/appapi/order/complainsReason";

    //返回订单拒收原因数组
    String RejrctReason= "/appapi/order/rejectReason";

    //取消订单
    String CancelOrder= "/appapi/order/cancel_orders";

    //拒收订单
    String Reject= "/appapi/order/reject";

    //物流信息
    String LogisticsInfo= "/appapi/order/logistics_info";

    //商家提现
    String CashOutShop= "/appapi/pay/cash_out_shop";

    //我的商品足迹
    String FootList= "/appapi/goods/foot_list";

    //删除足迹
    String DelFootList= "/appapi/goods/del_foot_goods";

    //清空足迹
    String DelAllFootList= "/appapi/goods/del_all_foot_goods";

    //修改购物车信息
    String ModifyShopping= "/appapi/goods/modify_shopping";

    //删除指定ID的购物车信息
    String DelShopping= "/appapi/goods/del_shopping";

    //修改购物车中商品的状态
    String ShoppingCkeck= "/appapi/goods/shopping_check";

    //获取搜索热词
    String HotSearch= "/appapi/search/hot_search";

    //获取我的历史搜索
    String GetMysearch= "/appapi/search/get_mysearch";

    //清空我的搜索词
    String ClearMysearch= "/appapi/search/clear_mysearch";

    //搜索商品
    String GoodSearch= "/appapi/goods/goods_search";

    //创建订单
    String CreatOrder= "/appapi/order/create_order";

    //确认支付订单（待付款订单里面的立即支付）
    String toOrderPay= "/appapi/order/to_order_pay";

    //获取小店所有订单
    String AllShopOrders= "/appapi/order/all_shop_orders";

    //商家会员修改订单状态
    String ModifyOrder= "/appapi/order/modify_order";

    //获取店铺某月的总额
    String MonthShopProfit= "/appapi/shop/month_shop_profit";

    //获取店铺从某一天到某一天的总额
    String SectionShopProfit= "/appapi/shop/section_shop_profit";

    //订单详情
    String OrderDetail= "/appapi/order/order_detail";

    //商家提现列表
    String GetCashOrderShop= "/appapi/pay/get_cash_order_shop";

    //提现详情
    String GetCashInfo= "/appapi/pay/get_cash_info";

    //添加商品足迹
    String FootGoods= "/appapi/goods/foot_goods";

    //反馈问题类型
    String FeedBack= "/appapi/order/feedback";

    //反馈问题
    String FeedBackAdd= "/appapi/users/feedback_add";

    //获取省市县数组
    String GetCityName= "/appapi/users/get_city_name";

    //获取我的消息列表
    String MyMessageList= "/appapi/users/my_message_list";

    //获取指定的消息详情
    String GetMessageInfo= "/appapi/users/get_message_info";

    //删除指定的消息
    String DelMessage= "/appapi/users/del_message";

    //获取我的未读消息数
    String MyNoReadMessage= "/appapi/users/my_no_read_message";

    //我的发票信息列表
    String GetInvoiceList= "/appapi/users/get_invoices_list";

    //新增发票信息
    String InvoiceAdd= "/appapi/users/invoices_add";

    //修改发票信息
    String InvoiceEdit= "/appapi/users/invoices_edit";

    //删除发票信息
    String InvoiceDel= "/appapi/users/invoices_del";

    //售后列表
    String ServiceList= "/appapi/order/service_list";

    //售后详情
    String ServiceDetail= "/appapi/order/service_detail";

    //获取用户的订单投诉列表
    String ComplainByPage= "/appapi/order/complainByPage";

    //用户查投诉详情
    String ComplainDetai= "/appapi/order/getComplainDetail";

    //获取商品的规格
    String GetGoodsSpecs= "/appapi/goods/get_goods_specs";

    //计算商品的邮费
    String GetGoodsFreight= "/appapi/goods/get_goods_freight";

    //获取店铺商品列表
    String GetShopGoodsList= "/appapi/shop/get_shop_goods_list";

    //获取指定店铺的分类
    String GetShopCats= "/appapi/shop/get_shop_cats";

    //商品咨询列表
    String GoodsConsult= "/appapi/goods/goods_consult";

    //咨询类型
    String ConsultInfo= "/appapi/information/consult_info";

    //添加商品咨询信息
    String GoodsConsultAdd= "/appapi/goods/goods_consult_add";

    //获取购物车里面商品数量
    String ShoppingCount= "/appapi/goods/shopping_count";

    //修改指定购物车中商品的购买数量
    String ChangeShoppingNum= "/appapi/goods/shopping_num";

}